package com.chanyachting.emall.service;

import java.util.List;

import com.chanyachting.emall.domain.Companykeyword;
import com.chanyachting.emall.domain.Productcategory;

public interface ProductcategoryService {
	
	//添加主营产品/服务
	public boolean addProductcategory(Productcategory pc);
	
	//删除主营产品/服务
	public boolean delProductcategory(Productcategory pc);
	
	//修改主营产品/服务
	public boolean updateProductcategory(Productcategory pc);
	
	//获得一个主营产品/服务对象
	public Productcategory getOneProductcategory(Productcategory pc);
	
	//获得所有主营产品/服务对象
	public List<Productcategory> getAllProductcategory();
	
	//修改主营产品/服务优先级
	public boolean updateProductcategoryPri(Productcategory pc);
	
	//根据 BusinesscategoryId查询
	public List<Productcategory> getProductcategoryByBusinesscategoryId(
			String businesscategoryId) ;

	public List<Companykeyword> getCompanyByProductcategoryName(
			String name) ;
	
	public Productcategory getOneProductcategoryById(String id);
}
